package org.jeecg.modules.demo.ipds.service;

import org.jeecg.modules.demo.ipds.entity.XmlList;
import com.baomidou.mybatisplus.extension.service.IService;
import org.xml.sax.SAXException;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.xml.parsers.ParserConfigurationException;
import java.io.IOException;

/**
 * @Description: 导出xml表
 * @Author: jeecg-boot
 * @Date:   2024-04-06
 * @Version: V1.0
 */
public interface IXmlListService extends IService<XmlList> {

    String createXml(String wordId, String ipTreeId);
     String createXml(String wordId);

    boolean importXml(HttpServletRequest request, HttpServletResponse response) throws ParserConfigurationException, IOException, SAXException;
}
